<script setup>
import { createApp } from 'vue';
import { NavBar } from 'vant';

const app = createApp();
app.use(NavBar);
const onClickLeft = () => history.back();
</script>
<template>
    <van-nav-bar title="设置" left-text="返回" left-arrow @click-left="onClickLeft" />
</template>
<style scoped lang="less">
:first-child {
    --van-nav-bar-height: 60px;
    --van-nav-bar-title-font-size: 20px;
}
</style>